package com.github.horse.auth.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@RefreshScope
@Configuration
public class DynamicConfig {

    @Value("${module.name}")
    private String moduleName;

    public String getModuleName() {
        return moduleName;
    }
}
